﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2012-9-9
Description:HotelInfo三层结构业务逻辑层
=============================================================================
*/
using System;
using System.Collections.Generic;
using System.Text;
using FTchina.DAL;
using FTchina.Models;
namespace FTchina.BLL
{
	public static partial class HotelInfoManager
	{
		public static int AddHotelInfo(HotelInfo hotelInfo)
		{
			return HotelInfoService.AddHotelInfo(hotelInfo);
		}
		public static int DeleteHotelInfoByid(long id)
		{
			return HotelInfoService.DeleteHotelInfoById(id);
		}
		
		public static int ModifyHotelInfoByid(HotelInfo hotelInfo)
		{
			return HotelInfoService.ModifyHotelInfoByid(hotelInfo);
		} 			
					
		
		
		public static IList<HotelInfo> GetAllHotelInfos()
		{
			return HotelInfoService.GetAllHotelInfos();
		}
		public static HotelInfo GetHotelInfoByid(long id)
		{
			return HotelInfoService.GetHotelInfoByid(id);
		}				
		 
	}
}
